package org.Image.management.SpringDataService.Service.Sys_User.dataService.impl;


import com.baomidou.mybatisplus.extension.service.IService;
import org.Image.management.SpringDataService.Service.Sys_User.Pojo.mapper.User;

public interface UserDataServiceInterface extends IService<User> {

    // 添加用户 注册
    User addUser(User user);


    // 修改用户
    User updateUser(User user);

    // 查询用户名是否存在
    Boolean isUsernameFind(String username);

    // 查询用户密码是否正确
    Boolean isUserPasswordFind(Long id, String password);

    // 登录
    User login(String username, String password,boolean isUserDelete);

}
